<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include  file="header.jsp" %>



  <h1>密码修改<br>
  </h1>
  <br>
  <%
 	String message=(String)request.getAttribute("message");
   	if(message!=null){
	   out.print("<font color='red'>"+message+"</font>");
   	}
   %>
  <form name="changePasswordForm" method="post" action="/BlogSystem/UserServlet">
    <table id="tab">
   
      <tr>
        <td width="148">旧密码：</td>
      <td width="271"><label>
          <input type="password" name="oldPassword" id="oldPassword">
           <input type="hidden" name="method" value="change"/>
        </label></td>
      </tr>
      <tr>
        <td>新密码：</td>
        <td><label>
          <input type="password" name="newPassword" id="newPassword">
        </label></td>
      </tr>
      <tr>
        <td>确认密码：</td>
        <td><label>
          <input type="password" name="renewPassword" id="renewPassword">
        </label></td>
      </tr>
      <tr>
        <td><label>
          <input name="reset" type="reset" value="重置">
        </label></td>
        <td><label>
        <input type="submit" value="修改">
        </label></td>
      </tr>
    </table>
  </form>
<%@ include  file="footer.jsp" %>
